﻿<div class="header"><label class="title">数据组件</label></div>
<div class="category-view">
    <div class="sections">
        <div class="section-wrapper live-comps">
            <div class="section-header"><div class="title-line"><div class="title">列表</div></div></div>
            <div class="items">
                <div data-type="list" data-compid="s1" class="domItem listItem" style="height:230px;">
                    <img src="/Design/res/img/list_s1.png" />
                </div>
                <div data-type="list" data-compid="s2" class="domItem listItem" style="height:230px;">
                    <img src="/Design/res/img/list_s2.png" />
                </div>   
            </div>
        </div>
        <div class="section-wrapper live-comps">
            <div class="section-header"><div class="title-line"><div class="title">内容</div></div></div>
            <div class="items">
                <div data-type="content" class="domItem listItem" style="height:230px;">
                    <img src="/Design/res/img/content_s1.png" />
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    function GetModel(item) {
        var $item = $(item);
        var model = {
            dataMod: { "list": [] },
            config: { type: $item.data("type"), compid: $item.data("compid"), css: "candrag", style: 'width:100%;',bodyid:"midBody" }
        };
        return model;
    }
</script>
